package xcmg.device.dao.mapper.company;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.company.DealerLevelDO;

import java.util.List;

@Mapper
@Repository
public interface DealerLevelMapper {
    int deleteByPrimaryKey(String id);

    int insert(DealerLevelDO record);

    int insertSelective(DealerLevelDO record);

    DealerLevelDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DealerLevelDO record);

    List<DealerLevelDO> list(@Param("orgId") String orgId);

    Integer nameCount(DealerLevelDO record);

    Integer existCount(@Param("id") String id);

    int deleteById(DealerLevelDO dealerLevelDO);
}